{include file="public/head" /}
  
  <body>
    <div class="x-nav">
      <span class="layui-breadcrumb">
        <a><cite>后台管理</cite></a>
        <a><cite>项目报销财务报销</cite></a>
        <a><cite>费用报销列表</cite></a>
      </span>
      <a class="layui-btn layui-btn-small" style="line-height:1.6em;margin-top:3px;float:right" href="javascript:location.replace(location.href);" title="刷新">
        <i class="layui-icon" style="line-height:30px">ဂ</i></a>
    </div>
    <div class="x-body">
      <div class="layui-row">
        <form class="layui-form layui-col-md12 x-so"  method="get" action="{url('reimburseList')}">
          <div class="layui-input-inline">

            <select name="community_id" lay-filter="community_id" id="community_id">
              <option value="">所属小区</option>
              {foreach $communitylist as $name}
              <option value="{$name.community_id}" {if isset($community_id)}{if $community_id == $name.community_id}selected{/if}{/if}>{$name.community_name}</option>
              {/foreach}
            </select>
          </div>
  
          <button class="layui-btn"  lay-submit="" lay-filter="sreach"><i class="layui-icon">&#xe615;</i></button>
        </form>
      </div>
      <xblock>
         <button class="layui-btn " onclick="x_admin_show('新增报销','{:url('reimburseAdd')}',550,700)"><i class="layui-icon"></i>新增报销</button>
        <span class="x-right" style="line-height:40px">共有数据：条</span>
      </xblock>
      <table class="layui-table" id="table">
        <thead  style="text-align:center;">
          <tr>
            <th style="text-align: center; font-size: 16px;">小区名称</th>
            <th style="text-align: center; font-size: 16px;">报销金额</th>
            <th style="text-align: center; font-size: 16px;width:50%" >报销用途</th>
            <th style="text-align: center; font-size: 16px;">报销时间</th>
          </tr>
        </thead>
        <tbody style="text-align:center;">
          {foreach $list as $val}
          <tr>
            <td style="text-align: center;">{$val.community_name}</td>
            <td style="text-align: center;">{$val.money}</td>
            <td style="text-align: center;">{$val.application}</td>
            <td style="text-align: center;">{$val.reimburse_time|date="Y-m-d H:i",###}</td>
          </tr>
          {/foreach}
        </tbody>
      </table>
      <div class="page">
        <div id="page">
            
        </div>
      </div>

    </div>
    <script>

  </script>

    <script>var _hmt = _hmt || []; (function() {
        var hm = document.createElement("script");
        hm.src = "https://hm.baidu.com/hm.js?b393d153aeb26b46e9431fabaf0f6190";
        var s = document.getElementsByTagName("script")[0];
        s.parentNode.insertBefore(hm, s);
      })();
    </script>

  </body>

</html>